<?php
/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 2020/5/2
 * Time: 17:35
 */

namespace app\api\controller\agent;


use app\api\controller\Controller;
use app\api\model\CommissionLog;
use think\Request;

class Commission extends Controller
{
    public function index($userId, Request $request)
    {
        $model = new CommissionLog();
        $commissionLogs = $model->load($userId, $request);
        return $this->success("","", compact('commissionLogs'));
    }
}